
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGStereoCameraDecorator.h>
#include <OpenSG/OSGStereoCameraDecoratorBase.h>
#include <OpenSG/OSGViewport.h>
#include <OpenSG/OSGDrawAction.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_StereoCameraDecorator_dump_overloads_0_2, dump, 0, 2)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_StereoCameraDecorator()
{
    scope* osg_StereoCameraDecoratorBase_scope = new scope(
    class_< osg::StereoCameraDecoratorBase, bases< osg::CameraDecorator > , boost::noncopyable >("StereoCameraDecoratorBase", no_init)
//        .def_readonly("LeftEyeFieldMask", &osg::StereoCameraDecoratorBase::LeftEyeFieldMask)
//        .def_readonly("EyeSeparationFieldMask", &osg::StereoCameraDecoratorBase::EyeSeparationFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::StereoCameraDecoratorBase::MTInfluenceMask)
        .def("getClassType", &osg::StereoCameraDecoratorBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::StereoCameraDecoratorBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::StereoCameraDecoratorBase::*)() )&osg::StereoCameraDecoratorBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::StereoCameraDecoratorBase::*)() const)&osg::StereoCameraDecoratorBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::StereoCameraDecoratorBase::getContainerSize)
        //.def("getLeftEye", (bool& (osg::StereoCameraDecoratorBase::*)() )&osg::StereoCameraDecoratorBase::getLeftEye, return_value_policy< copy_const_reference >())
        .def("getLeftEye", (const bool& (osg::StereoCameraDecoratorBase::*)() const)&osg::StereoCameraDecoratorBase::getLeftEye, return_value_policy< copy_const_reference >())
        //.def("getEyeSeparation", (osg::Real32& (osg::StereoCameraDecoratorBase::*)() )&osg::StereoCameraDecoratorBase::getEyeSeparation, return_value_policy< copy_const_reference >())
        .def("getEyeSeparation", (const osg::Real32& (osg::StereoCameraDecoratorBase::*)() const)&osg::StereoCameraDecoratorBase::getEyeSeparation, return_value_policy< copy_const_reference >())
        .def("setLeftEye", &osg::StereoCameraDecoratorBase::setLeftEye)
        .def("setEyeSeparation", &osg::StereoCameraDecoratorBase::setEyeSeparation)
        .def("getBinSize", &osg::StereoCameraDecoratorBase::getBinSize)
        .def("copyToBin", &osg::StereoCameraDecoratorBase::copyToBin)
        .def("copyFromBin", &osg::StereoCameraDecoratorBase::copyFromBin)
        .staticmethod("getClassType")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::StereoCameraDecoratorBase::NextFieldId;
    scope().attr("EyeSeparationFieldId") = (int)osg::StereoCameraDecoratorBase::EyeSeparationFieldId;
    scope().attr("LeftEyeFieldId") = (int)osg::StereoCameraDecoratorBase::LeftEyeFieldId;

    delete osg_StereoCameraDecoratorBase_scope;

    class_< osg::StereoCameraDecorator, bases< osg::StereoCameraDecoratorBase > , boost::noncopyable, osg::StereoCameraDecoratorRefPtr >("StereoCameraDecorator", no_init)
        .def("changed", &osg::StereoCameraDecorator::changed)
        .def("dump", &osg::StereoCameraDecorator::dump, osg_StereoCameraDecorator_dump_overloads_0_2())
    ;


    register_ptr_to_python<osg::StereoCameraDecoratorPtr>();
    implicitly_convertible<osg::StereoCameraDecoratorRefPtr, osg::StereoCameraDecoratorPtr>();
    implicitly_convertible<osg::StereoCameraDecoratorPtr, osg::CameraDecoratorPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::StereoCameraDecoratorPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::StereoCameraDecoratorPtr>);
}

